
import {app} from "./app";
import "./controller/header";
import "./controller/asideNav";
import "./controller/home";
import "./controller/F";
import "./controller/C";
import "./controller/news";
import "./controller/banner";
import "./controller/send";
import "./controller/feedback";
import "./controller/system";

app.config(['$stateProvider','$urlRouterProvider',function($stateProvider,$urlRouterProvider){
	$urlRouterProvider
		.when('','/home')
		
	$stateProvider
		.state("home",{
			url:"/home",
			template:require("./template/home.html"),
			controller:"homeCtrl"
		})
		.state("F",{
			url:"/F",
			template:require("./template/F.html"),
			controller:"FCtrl"
		})
		.state("C",{
			url:"/C",
			template:require("./template/C.html"),
			controller:"CCtrl"
		})
		.state("news",{
			url:"/news",
			template:require("./template/news.html"),
			controller:"newsCtrl"
		})
		.state("banner",{
			url:"/banner",
			template:require("./template/banner.html"),
			controller:"bannerCtrl"
		})
		.state("send",{
			url:"/send",
			template:require("./template/send.html"),
			controller:"sendCtrl"
		})
		.state("feedback",{
			url:"/feedback",
			template:require("./template/feedback.html"),
			controller:"feedbackCtrl"
		})
		.state("system",{
			url:"/system",
			template:require("./template/system.html"),
			controller:"systemCtrl"
		})
}])
